package enums;

/**
 * Created by 5406160@qq.com on LiBoWen 李博闻.
 *
 * @ClassName : Gender
 * @Author : 54061
 * @Date: 2022/2/28 18:37
 */
public enum  Gender {
    MALE(1,"男"),
    FEMALE(2,"女"),
    OTHER;

    Gender(){

    }
    Gender(Integer num, String name) {
        this.num = num;
        this.name = name;
    }

    private Integer num;
    private String name;

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    }

